package com.spic.business.riskbase.hierarchy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * riskDetailsInfo对象 risk_details_info
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public class RiskDetailsInfo
{
    private static final long serialVersionUID = 1L;

    /** 风险详情id */
    private Long id;

    private Long parentDeptId;
    private Long workTaskId;
    private String workTaskName;
    private Long workStepId;
    private String workStepName;
    private Long dangerSourceId;
    private String dangerSourceName;
    private Long riskDescriptionId;
    private String riskDescriptionName;
    /** 风险分析id */
    @Excel(name = "风险分析id")
    private Long riskAnalyseId;
    private String riskAnalyseName;

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public Long getWorkTaskId() {
        return workTaskId;
    }

    public void setWorkTaskId(Long workTaskId) {
        this.workTaskId = workTaskId;
    }

    public String getWorkTaskName() {
        return workTaskName;
    }

    public void setWorkTaskName(String workTaskName) {
        this.workTaskName = workTaskName;
    }

    public Long getWorkStepId() {
        return workStepId;
    }

    public void setWorkStepId(Long workStepId) {
        this.workStepId = workStepId;
    }

    public String getWorkStepName() {
        return workStepName;
    }

    public void setWorkStepName(String workStepName) {
        this.workStepName = workStepName;
    }

    public Long getDangerSourceId() {
        return dangerSourceId;
    }

    public void setDangerSourceId(Long dangerSourceId) {
        this.dangerSourceId = dangerSourceId;
    }

    public String getDangerSourceName() {
        return dangerSourceName;
    }

    public void setDangerSourceName(String dangerSourceName) {
        this.dangerSourceName = dangerSourceName;
    }

    public Long getRiskDescriptionId() {
        return riskDescriptionId;
    }

    public void setRiskDescriptionId(Long riskDescriptionId) {
        this.riskDescriptionId = riskDescriptionId;
    }

    public String getRiskDescriptionName() {
        return riskDescriptionName;
    }

    public void setRiskDescriptionName(String riskDescriptionName) {
        this.riskDescriptionName = riskDescriptionName;
    }

    public String getRiskAnalyseName() {
        return riskAnalyseName;
    }

    public void setRiskAnalyseName(String riskAnalyseName) {
        this.riskAnalyseName = riskAnalyseName;
    }

    /** 后果及影响 */
    @Excel(name = "后果及影响")
    private String riskResultAffect;

    /** 事故发生的可能性 */
    @Excel(name = "事故发生的可能性")
    private String riskL;

    /** E（暴露危险条件的频繁程度） */
    @Excel(name = "E", readConverterExp = "暴=露危险条件的频繁程度")
    private String riskE;

    /** C（事故产生的后果） */
    @Excel(name = "C", readConverterExp = "事=故产生的后果")
    private String riskC;

    /** D（风险程度） */
    @Excel(name = "D", readConverterExp = "风=险程度")
    private String riskD;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskGrade;

    /** 管控措施 */
    @Excel(name = "管控措施")
    private String controlMeasure;

    /** 转换应用情况 */
    @Excel(name = "转换应用情况")
    private String regulationInfo;

    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRiskAnalyseId(Long riskAnalyseId) 
    {
        this.riskAnalyseId = riskAnalyseId;
    }

    public Long getRiskAnalyseId() 
    {
        return riskAnalyseId;
    }
    public void setRiskResultAffect(String riskResultAffect) 
    {
        this.riskResultAffect = riskResultAffect;
    }

    public String getRiskResultAffect() 
    {
        return riskResultAffect;
    }
    public void setRiskL(String riskL) 
    {
        this.riskL = riskL;
    }

    public String getRiskL() 
    {
        return riskL;
    }
    public void setRiskE(String riskE) 
    {
        this.riskE = riskE;
    }

    public String getRiskE() 
    {
        return riskE;
    }
    public void setRiskC(String riskC) 
    {
        this.riskC = riskC;
    }

    public String getRiskC() 
    {
        return riskC;
    }
    public void setRiskD(String riskD) 
    {
        this.riskD = riskD;
    }

    public String getRiskD() 
    {
        return riskD;
    }
    public void setRiskGrade(String riskGrade) 
    {
        this.riskGrade = riskGrade;
    }

    public String getRiskGrade() 
    {
        return riskGrade;
    }
    public void setControlMeasure(String controlMeasure) 
    {
        this.controlMeasure = controlMeasure;
    }

    public String getControlMeasure() 
    {
        return controlMeasure;
    }
    public void setRegulationInfo(String regulationInfo) 
    {
        this.regulationInfo = regulationInfo;
    }

    public String getRegulationInfo() 
    {
        return regulationInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("riskAnalyseId", getRiskAnalyseId())
            .append("riskResultAffect", getRiskResultAffect())
            .append("riskL", getRiskL())
            .append("riskE", getRiskE())
            .append("riskC", getRiskC())
            .append("riskD", getRiskD())
            .append("riskGrade", getRiskGrade())
            .append("controlMeasure", getControlMeasure())
            .append("regulationInfo", getRegulationInfo())
            .toString();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
